package com.sy.struts.base;

import net.sf.json.JSONObject;

import com.opensymphony.xwork2.ActionSupport;
/**
 * 带分页参数的struts2帮助类
 * @author user
 *
 */
public class PageActionSupport extends ActionSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JSONObject result;//返回的json   
    
    private String rows;//每页显示的记录数   
        
    private String page;//当前第几页   

	public JSONObject getResult() {
		return result;
	}

	public void setResult(JSONObject result) {
		this.result = result;
	}

	public String getRows() {
		return rows;
	}

	public void setRows(String rows) {
		this.rows = rows;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

}
